package com.zmx.b2c.order.dto.params;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ToString
public class CreateOrderParams implements Serializable {

    private static final long serialVersionUID = 4819436376561832760L;
    /**
     * 防止段时间内重复提交订单
     */
    private String onlyNumber;
    private String openId;
    private String memberId;
    private Integer platform;
    List<ProductParamsDTO> productParamsDTOs;
    private String orderSource;
    private String consignee;
    private String phone;
    private String address;
    private String area;
    private String leaveWord;
    private BigDecimal amountPaid;
    private BigDecimal freight;
    private BigDecimal totalPrice;
    /**
     * 验证签名
     */
    private String sign;
    private String timeStamp;
}
